import { getDeviceRepairDetailApi } from '../api';
import { request } from '../../../../services/request';

// 评价维修接口
export const appraiseRepairApi = async (data: {
    id: string;
    checker_result: number;
    error_state: number;
}) => {
    return request('/app/appDeviceInfo/appraiseRepair', {
        method: 'POST',
        body: JSON.stringify(data)
    });
};

export { getDeviceRepairDetailApi }; 